//
//  EveryTeHuiItemCell.m
//  CenturyCity
//
//  Created by beisheng03 on 2017/12/18.
//  Copyright © 2017年 beisheng. All rights reserved.
//

#import "EveryTeHuiItemCell.h"

@interface EveryTeHuiItemCell ()

@property (weak, nonatomic) IBOutlet UIImageView *topImageView;
@property (weak, nonatomic) IBOutlet UILabel *middleLabel;
@property (weak, nonatomic) IBOutlet UILabel *bottomLabel;

@end

@implementation EveryTeHuiItemCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    self.middleLabel.font = MYFONT(12);
    
    self.bottomLabel.font = MYFONT(15);
    
    
    self.backgroundColor = [UIColor whiteColor];
    
    
    // Initialization code
}


- (void)setSubModel:(MarketHSubModel *)subModel{
    
    _subModel = subModel;
    
    [self.topImageView sd_setImageWithURL:[NSURL URLWithString:_subModel.pic_cover_small] placeholderImage:nil];
    self.middleLabel.text = _subModel.goods_name;
    
    self.bottomLabel.text = _subModel.price;
    
    
}

@end
